package com.shu.project.dao;

import com.shu.project.model.User;

public interface UserDao {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectUserByNickName(String nickName);

    User selectUserByPhoneNo(String phoneNo);

    User selectUserByEmail(String email);
}